package com.titan.demo.camel.developers.SpringRoute.services.impl;

import com.titan.demo.camel.developers.SpringRoute.domain.BodyDomain;
import com.titan.demo.camel.developers.SpringRoute.services.IBService;
import com.titan.demo.camel.developers.SpringRoute.services.Utils;


/**
 *
 *
 * @author Administrator
 *
 */
public class BService implements IBService {
    public void b01(BodyDomain body) throws Exception {
        Utils.out(BService.class, "b01", "begin...");
        Utils.sleep(2000);
        body.append("b01");
        Utils.out(BService.class, "b01", "end");
    }
    public void b02(BodyDomain body) throws Exception {
        Utils.out(BService.class, "b02", "begin...");
        Utils.sleep(2000);
        body.append("b02");
        Utils.out(BService.class, "b02", "end");
    }
    public void b03(BodyDomain body) throws Exception {
        Utils.out(BService.class, "b03", "begin...");
        Utils.sleep(2000);
        body.append("b03");
        Utils.out(BService.class, "b03", "end");
    }
}

